﻿using BarManager.Core.Entity;
using System;
using System.ComponentModel.DataAnnotations;

namespace BarManager.UI.Web.Models
{
    public class ZonaViewModel : BaseViewModel<Zona, int>
    {
        [Display(Name = "Cant. de Mesas")]
        [Required(ErrorMessage="Campo Cantidad es obligatorio")]
        [Range(typeof(Int32), "1", "100")]
        public int CantidadMesas { get; set; }
    }
}